<?php
/**
 * @author FeoniX
 * @version v1.0
 */
class IndexController extends Controller{
	public function index(){
		echo EASY_VERSION;
		echo '<br>';
		echo TIMESTAMP;
		echo '<br>';
		$sql = M('user')->where('`hid`=1 and `id`=12')->limit('0,15')->order('id desc')->select();
		echo($sql);
		pe($_GET);
		$arr = array(
			1001 => 'appid无效',
			1002 => 'token无效',
			1003 => 'token已过期'
		);
		$this->assign('title','测试标题');
		$this->assign('errcode',$arr);
		$this->display();
	}
	public function getList(){
		echo 'GetVasd! <br>$this->';
		echo $_GET['c'].'->';
		echo $_GET['a'].'();';
		pe(C());
	}
}

?>